package com.tsd.jxc.fin.dao;

import com.tsd.core.vo.PageBean;
import com.tsd.jxc.fin.entity.JxcFinanceFundDetail;
import com.tsd.jxc.fin.entity.JxcFinanceFundDetailExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 描述：JxcFinanceFundDetailMapper
 *
 * @author Hillpool
 * @date 2023/02/09 18:00:21
 */
public interface JxcFinanceFundDetailMapper {

    JxcFinanceFundDetail selectByPrimaryKey(Long id);

    JxcFinanceFundDetailExt selectBySid(String sid);

    int deleteByPrimaryKey(Long id);

    int insert(JxcFinanceFundDetail record);

    int insertSelective(JxcFinanceFundDetail record);

    int insertList(@Param("list") List<JxcFinanceFundDetailExt> list);

    int updateByPrimaryKey(JxcFinanceFundDetail record);

    int updateByPrimaryKeySelective(JxcFinanceFundDetail record);

    int updateList(@Param("list") List<JxcFinanceFundDetailExt> list);

    List<JxcFinanceFundDetailExt> selectByEntity(JxcFinanceFundDetailExt record);

    List<JxcFinanceFundDetailExt> selectByPage(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<JxcFinanceFundDetailExt> selectCount1Page(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<JxcFinanceFundDetailExt> selectByParams(@Param("params") Map<String, Object> params);

    Integer selectDuplicatedCode(JxcFinanceFundDetailExt record);
}